fontchooser: Introduce gtk_font_chooser_find_font()
authorBenjamin Otte <otte@redhat.com>
Tue, 20 Sep 2011 00:54:42 +0000 (02:54 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Sep 2011 19:44:04 +0000 (21:44 +0200)
commit3af04c1dceb04f19c6988ff3b96e124887d23a80
tree50e1a9eb5fa11087e744c5fc9f72a6efba9c19c2
parentfe8ed0a3f6f3012b3cc9e902b504b886bb61b0b6
fontchooser: Introduce gtk_font_chooser_find_font()

... which looks up the font in the list of fonts. This then can be used
to select an actual font upon changes.

Also fixes cases where the get_family() and get_face() functions would
return outdated data when set_font() had been called.
gtk/gtkfontchooserwidget.c